import { WeaTools } from 'ecCom';

export const getContacterList = params => // 查询联系人  列表
  WeaTools.callApi('/api/crm/contacter/list', 'GET', params);


export const getContacterCondition = params => WeaTools.callApi('/api/crm/contacter/condition', 'GET', params);

export const getContacterForm = params => WeaTools.callApi('/api/crm/contacter/form', 'GET', params);

export const contacterEdit = params => WeaTools.callApi('/api/crm/contacter/edit', 'POST', params);

export const deleteContracter = params => // 删除
  WeaTools.callApi('/api/crm/contacter/delete', 'POST', params);


export const getTrailInfo = params => // 获取工作轨迹值
  WeaTools.callApi('/api/crm/contacter/trail', 'GET', params);
